using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._UtilityNetworkTools
{
    /// <summary>
    /// <para>Purge Temporary Diagrams</para>
    /// <para>Purge the temporary diagrams</para>
    /// <para>清除临时关系图</para>
    /// </summary>    
    [DisplayName("Purge Temporary Diagrams")]
    public class PurgeTemporaryDiagrams : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public PurgeTemporaryDiagrams()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_utility_network">
        /// <para>Input Network</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public PurgeTemporaryDiagrams(object _in_utility_network)
        {
            this._in_utility_network = _in_utility_network;
        }
        public override string ToolboxName => "Utility Network Tools";

        public override string ToolName => "Purge Temporary Diagrams";

        public override string CallName => "un.PurgeTemporaryDiagrams";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_utility_network, _created_before, _out_utility_network];

        /// <summary>
        /// <para>Input Network</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Network")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_utility_network { get; set; }


        /// <summary>
        /// <para>Created Before</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Created Before")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _created_before { get; set; } = null;


        /// <summary>
        /// <para>Output Network</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Network")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_utility_network { get; set; }


        public PurgeTemporaryDiagrams SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}